package com.pavco.caribbeanvisit.shared.models;

import java.io.Serializable;
import java.util.ArrayList;

//import com.pavco.caribbeanvisit.server.models.Tag;

@SuppressWarnings("serial")
public class Attraction_dto implements Serializable {
  private String countryName;
  
  private String name;
  
  private String description;
 
  private float rating;
  
  private int ratingCount;
  
  private float latitude;
  
  private float longitude;

  private String url;
 
  private ArrayList<Tag_dto> tags = new ArrayList<Tag_dto>();

  public Float getLatitude() {
    return latitude;
  }
  
  public Float getLongitude() {
    return longitude;
  }

  public void setLocation(float longitude, float latitude) {
    this.latitude = latitude;
    this.longitude = longitude;
  }

  public String getName() {
    return name;
  }
  
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }
  
  public float getRating() {
    return rating;
  }

  public void setAttractionName(String name) {
    this.name = name;
  }

  public void setRatingCount(int ratingCount) {
    this.ratingCount = ratingCount;
  }

  public int getRatingCount() {
    return ratingCount;
  }
  
  public void addTag(Tag_dto tag) {
    tags.add(tag);
  }
  
  public ArrayList<Tag_dto> getTags() {
    if (tags == null) {
      return  new ArrayList<Tag_dto>();
    }
    return tags;
  }
  
  public void setTags(ArrayList<Tag_dto> tags) {
    this.tags = tags;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public void setCountryName(String name) {
    this.countryName = name;
  }

  public String getCountryName() {
    return this.countryName;
  }
}